-
Home
-
Smush Image Optimization – Optimize Images | Compress & Lazy Load Images | Convert WebP & AVIF | Image CDN
-
3.22.1 (latest)
-
Code
-
Classes
- Dir
| Total Complexity |
197 |
| Dependencies |
11 |
| Dependents |
3 |
| Total lines |
1,315 |
| Lines of code |
706 |
| Logical lines of code |
407 |
| Comment lines |
428 |
| Methods |
36 |
| Properties |
4 |
Methods 36
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| get_image_list() |
C |
34 |
26 |
89 |
| get_directory_tree() |
B |
41 |
18 |
51 |
| skip_dir() |
B |
48 |
18 |
27 |
| total_stats() |
A |
41 |
12 |
55 |
| optimise_image() |
A |
39 |
10 |
72 |
| combine_stats() |
A |
51 |
9 |
23 |
| validate_path() |
A |
54 |
8 |
22 |
| initialize() |
S |
52 |
7 |
23 |
| directory_smush_finish() |
S |
55 |
7 |
18 |
| get_root_path() |
S |
54 |
6 |
20 |
| is_image() |
S |
57 |
6 |
17 |
| last_scan_stats() |
S |
52 |
5 |
24 |
| image_list() |
S |
54 |
5 |
20 |
| get_image() |
S |
63 |
6 |
10 |
| init() |
S |
56 |
4 |
17 |
| get_unsmushed_images() |
S |
57 |
4 |
16 |
| should_continue() |
S |
65 |
5 |
9 |
| directory_list() |
S |
58 |
4 |
14 |
| directory_smush_check_step() |
S |
59 |
4 |
13 |
| check_table() |
S |
65 |
4 |
9 |
| create_table() |
S |
53 |
2 |
27 |
| show_table_error() |
S |
62 |
2 |
16 |
| build_query() |
S |
64 |
3 |
9 |
| table_exist() |
S |
64 |
3 |
9 |
| check_scan() |
S |
68 |
2 |
12 |
| directory_smush_start() |
S |
65 |
2 |
9 |
| directory_smush_cancel() |
S |
66 |
2 |
8 |
| get_scanned_images() |
S |
64 |
2 |
9 |
| is_media_library_file() |
S |
65 |
2 |
9 |
| is_image_from_extension() |
S |
66 |
2 |
8 |
| remove_directory_tab() |
S |
71 |
2 |
6 |
| get_image_errors() |
S |
64 |
1 |
11 |
| get_image_errors_count() |
S |
68 |
1 |
8 |
| store_images() |
S |
73 |
1 |
5 |
| send_error() |
S |
70 |
1 |
7 |
| get_admin_path() |
S |
73 |
1 |
4 |